html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f6f6f6;
}

$borderRadius: 21px;
$initWidth: 30px;

.container {
  width: 560px;
  height: 400px;
  background-color: #95a5a6;
  position: relative;
  box-shadow: 0 0 20px 1px #aaa;
  border-radius: 10px 10px 00;
  overflow: hidden;

  .bar-container {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    .bar-bg-container {
      overflow: hidden;
      box-sizing: border-box;
      height: 60px;
      display: flex;
      justify-content: space-between;
      .lt {
        background-color: #fff;
        height: 100%;
        width: $initWidth;
        border-top-right-radius: $borderRadius;
        transition: all 0.2s;
      }

      .cirle-container {
        background-color: transparent;
        width: 100px;
        position: relative;
        z-index: 2;
        .cirle {
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          top: -50px;
          width: 106px;
          height: 100px;
          border-radius: 50%;
          box-shadow: 0 160px 0 100px #fff; // 主要实现凹框
        }
      }

      .rt {
        background-color: #fff;
        height: 100%;
        flex: 1;
        border-top-left-radius: $borderRadius;
      }
    }

    .content-body {
      padding: 0;
      margin: 0;
      list-style: none;
      display: flex;
      box-sizing: border-box;
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      padding: 0 $initWidth;
      z-index: 3;
      .bar-iten {
        width: 100px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        color: #6e6d6d;
        font-size: 13px;
        cursor: pointer;
        .iconfont {
          font-size: 24px;
          margin-bottom: 3px;
        }

        &.active {
          background-color: #feaf2d;
          height: 100px;
          border-radius: 50%;
          color: #fff;
          transform: translateY(-60%);
          transition: transform 0.3s cubic-bezier(0.29, 1.88, 0.88, 0.32);
          .text {
            font-weight: bold;
          }
        }
      }
    }
  }
}
